import { request } from "@/utils";
export const getUser = (data) => {
  return request({
    method: 'post',
    url: '/authorizations',
    data,
  })
}   
/*
 * 获取用户信息
 *
*/
export const getUserInfo = () => {
  return request({
    method: 'get',
    url: '/user/profile'
  })
} 